@import "reset.css";
@import "public.css";
html,body{
    height: 100%;
}
/*头部*/
header{
    .manu{
        float: left;
        display: none;
        margin: 16px 0 0 16px;
        &>i{
            font-size: 30px;
        }
        ul{
            position: fixed;
            left: 0;
            top: 60px;
            background: #fff;
            height: 245px;
            width: 100%;
            border-top: 1px solid #dddddd;
            border-bottom: 1px solid #dddddd;
            text-align: center;
            padding-top: 30px;
            li{
                height: 40px;
                font-size: 18px;
                line-height: 40px;
                font-weight: bold;
                i{
                    vertical-align: middle;
                }
                &.cur{
                    background: #009688;
                    color: #fff;
                }
            }
        }
    }   
    &>p{
        width: 220px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        background: #e9967a;
        color: #fff;
        font-size: 18px;
        float: left;
    }
    .right{
        height: 60px;
        line-height: 60px;
        background: #fff;
        font-size: 18px;
        color: #454545;
        font-weight: bold;
        p{
            float: right;
            img{
                height: 30px;
                vertical-align: middle;
            }
            i{
                font-size: 26px;
                color: #167acc;
                vertical-align: middle;
            }
        }
        .exit{
            margin: 0 45px;
            height: 60px;
        }
    }
}

/*主体*/
main{
    height: calc(100% - 60px);
    &>ul{
        width: 220px;
        height: 100%;
        background: #fff;
        padding: 40px 0 0 60px;
        float: left;
        li{
            &.cur>p{
                color: #dee06d;
                height: 30px;
                line-height: 30px;
            }
            div{
                p{
                    font-size: 14px;
                    width: 136px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    &:hover{
                        background: #e9967a;
                    }
                    i{
                        color: #006400;
                    }
                    
                }
            }
        }
        li>p{
            font-size: 18px;
            color: #363636;
            font-weight: bold;
            height: 60px;
            line-height: 60px;
        }
    }

    .right{
        .title{
            height: 40px;
            border-bottom: 1px solid #d9d9d9;
            font-size: 18px;
            color: #a0532f;
            line-height: 40px;
            h2{
                float: left;
                margin-left: 26px;
            }
            p{
                float: right;
                margin-right: 20px;
            }
        }

        ul{
            padding-left: 220px;
            li{
                float: left;
                height: 123px;
                width: 21%;
                background: #e9967a;
                margin: 14px 2%;
                border-radius: 5px;
                color: #fff;
                overflow: hidden;
                & p:nth-child(1){
                    font-size: 30px;
                    
                    font-weight: bold;
                    margin: 16px 0 10px 11px;
                }
                & p:nth-child(2){
                    font-size: 18px;
                    font-weight: bold;
                    margin: 0 0 10px 11px;
                }
                & p:nth-child(3){
                    font-size: 12px;
                    background: #d5917a;
                    height: 32px;
                    line-height: 32px;
                    text-align: center;
                }
            }
            
        }
    }


}

@media screen and (max-width:992PX){
    main .right ul li{
        width: 46%;
    }
}


@media screen and (max-width:768px){
    
    header .manu{
        display: block;
    }
    header .manu ul{
        display: none;
    }

    header > p{
        display: none;
    }

    header .right .exit{
        display: none;
    }
    header .right .person{
        margin-right: 20px;
    }

    main .right ul li{
        width: 96%;
    }
    main > ul{
        display: none;
    }
    main .right ul{
        padding-left: 0;
    }
}